<!DOCTYPE html>
<html lang="en" xmlns:th="http://wwww.thymeleaf.org" >
<html class="x-admin-sm">

<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.2</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="../aaa/css/font.css">
    <link rel="stylesheet" href="../aaa/css/xadmin.css">
    <script src="../aaa/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="../aaa/js/xadmin.js"></script>
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
            <div class="layui-fluid">
                <div class="layui-row layui-col-space15">
                    <div class="layui-col-md12">
                        <div class="layui-card">
                            <div class="layui-card-body ">
                            </div>
                            <div class="layui-card-body ">
                                <table class="layui-table layui-form">
                                    <thead>
                                    <tr>
                                        <th>订单号</th>
                                        <th>状态</th>
                                        <th>入库日期</th>
                                        <th>商品订单编号</th>
                                        <th>仓库</th>
                                        <th>分拣</th>
                                        <th>查看</th>
                                    </thead>
                                    <tbody>
                                    <tr th:each="Ins:${Ins}">
                                        <td th:text="${Ins.instorageid}"></td>
                                        <td th:text="${Ins.statusl.statusname}"></td>
                                        <td th:text="${Ins.ordertime1}"></td>
                                        <td th:text="${Ins.ordersId}"></td>
                                        <td th:text="${Ins.entrepot.entrepotname}"></td>
                                        <td th:text="${Ins.bz}!=null?${Ins.bz}:无"></td>

                                        <td>
                                            <a title="编辑" th:onclick="xadmin.open('订单详情','/Sortp/chakan?id='+'[(${Ins.ordersId})]',1200,300)">
                                                <i class="layui-icon">查看商品订单</i>
                                            </a>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
</div>
</body>
<script>
    layui.use(['laydate','form','element'], function(){
        var laydate = layui.laydate;
        var form = layui.form;
        var element = layui.element;
        form.on('checkbox(allChoose)', function(data){
            if(data.elem.checked){
                $('tbody input').prop('checked',true);
            }else{
                $('tbody input').prop('checked',false);
            }
            form.render('checkbox');
        });


        //执行一个laydate实例
        laydate.render({
            elem: '#start' //指定元素
        });

        //执行一个laydate实例
        laydate.render({
            elem: '#end' //指定元素
        });
    });

</script>
</html>
